package com.graduation.roombooking.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.roombooking.pojo.Company;
import com.graduation.roombooking.vo.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZhaoXinYi
 * @since 2022-04-30
 */
public interface ICompanyService extends IService<Company> {

    //web——获取部门列表
    RespBean getAll();

    //web——部门下拉框
    RespBean companyDropDownBox();

    //web——联合查询部门列表
    RespBean unionQuery(CompanyUnionQueryVo companyUnionQueryVo);

    //web——修改部门信息
    RespBean updateCompany(UpdateCompanyVo updateCompanyVo);

    //web——添加部门
    RespBean registerDepartment(RegisterCompanyVo registerCompanyVo);

    //web——获取本部门信息
    RespBean getCompanyByName(String companyName);

    //applet——获取部门列表
    RespBean getAppletCompanyList(AppletCompanyVO appletCompanyVO);
}
